package top.lingkang.authoritypro.data.pojo;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

/**
 * @author lingkang
 * @date 2021/12/14
 * 用户授权
 */
@Data
public class RoleAuthority implements GrantedAuthority {
    private String role;

    @Override
    public String getAuthority() {
        return role;
    }
}
